.class public final Lcom/burstly/lib/currency/request/UpdateAccountBalanceRequest;
.super Ljava/lang/Object;
.source "UpdateAccountBalanceRequest.java"


# instance fields
.field private Amount:D

.field private CreateIfNew:I

.field private Currency:Ljava/lang/String;

.field private Publisher:Ljava/lang/String;

.field private SearchActiveOnly:I

.field private UserUid:Ljava/lang/String;


# direct methods
.method public constructor <init>()V
    .locals 2

    .prologue
    const/4 v1, 0x1

    .line 25
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 35
    invoke-static {}, Lcom/burstly/lib/util/Utils;->getDeviceId()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/burstly/lib/currency/request/UpdateAccountBalanceRequest;->UserUid:Ljava/lang/String;

    .line 40
    const-string v0, "points"

    iput-object v0, p0, Lcom/burstly/lib/currency/request/UpdateAccountBalanceRequest;->Currency:Ljava/lang/String;

    .line 50
    iput v1, p0, Lcom/burstly/lib/currency/request/UpdateAccountBalanceRequest;->SearchActiveOnly:I

    .line 55
    iput v1, p0, Lcom/burstly/lib/currency/request/UpdateAccountBalanceRequest;->CreateIfNew:I

    return-void
.end method


# virtual methods
.method public getAmount()D
    .locals 2

    .prologue
    .line 87
    iget-wide v0, p0, Lcom/burstly/lib/currency/request/UpdateAccountBalanceRequest;->Amount:D

    return-wide v0
.end method

.method public getPublisher()Ljava/lang/String;
    .locals 1

    .prologue
    .line 101
    iget-object v0, p0, Lcom/burstly/lib/currency/request/UpdateAccountBalanceRequest;->Publisher:Ljava/lang/String;

    return-object v0
.end method

.method public setAmount(D)V
    .locals 0
    .parameter "amount"

    .prologue
    .line 80
    iput-wide p1, p0, Lcom/burstly/lib/currency/request/UpdateAccountBalanceRequest;->Amount:D

    .line 81
    return-void
.end method

.method public setCreateIfNew(Z)V
    .locals 1
    .parameter "createIfNew"

    .prologue
    .line 94
    if-eqz p1, :cond_0

    const/4 v0, 0x1

    :goto_0
    iput v0, p0, Lcom/burstly/lib/currency/request/UpdateAccountBalanceRequest;->CreateIfNew:I

    .line 95
    return-void

    .line 94
    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method

.method public setPublisher(Ljava/lang/String;)V
    .locals 0
    .parameter "publisherId"

    .prologue
    .line 61
    iput-object p1, p0, Lcom/burstly/lib/currency/request/UpdateAccountBalanceRequest;->Publisher:Ljava/lang/String;

    .line 62
    return-void
.end method

.method public toString()Ljava/lang/String;
    .locals 3

    .prologue
    .line 123
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string v1, "UpdateAccountBalanceRequest [Amount="

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-wide v1, p0, Lcom/burstly/lib/currency/request/UpdateAccountBalanceRequest;->Amount:D

    invoke-virtual {v0, v1, v2}, Ljava/lang/StringBuilder;->append(D)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, ", CreateIfNew="

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget v1, p0, Lcom/burstly/lib/currency/request/UpdateAccountBalanceRequest;->CreateIfNew:I

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, ", Currency="

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v1, p0, Lcom/burstly/lib/currency/request/UpdateAccountBalanceRequest;->Currency:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, ", Publisher="

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v1, p0, Lcom/burstly/lib/currency/request/UpdateAccountBalanceRequest;->Publisher:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, ", SearchActiveOnly="

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget v1, p0, Lcom/burstly/lib/currency/request/UpdateAccountBalanceRequest;->SearchActiveOnly:I

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, ", UserUid="

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v1, p0, Lcom/burstly/lib/currency/request/UpdateAccountBalanceRequest;->UserUid:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, "]"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method
